﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/6/5 星期三 22:13:16
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// 病床等级信息实体
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_SickBedLevel : EntityBase
    {
        #region Accessor
        /// <summary>
        /// 获取或设置病床等级编码
        /// </summary>
        [DataMember]
        public int BedLevelId { get; set; }

        /// <summary>
        /// 获取或设置病床等级名称
        /// </summary>
        [DataMember]
        public string BedLevelName { get; set; }

        /// <summary>
        /// 获取或设置是否有效
        /// </summary>
        [DataMember]
        public bool IsValid { get; set; }

        /// <summary>
        /// 获取或设置费用
        /// </summary>
        [DataMember]
        public decimal Price { get; set; }

        /// <summary>
        /// 获取或设置执行科室
        /// </summary>
        [DataMember]
        public int DeptId { get; set; }

        /// <summary>
        /// 获取或设置计费周期
        /// </summary>
        [DataMember]
        public decimal Lifecycle { get; set; }

        /// <summary>
        /// 获取或设置计费周期单位编码
        /// </summary>
        [DataMember]
        public int LifecycleUnitId { get; set; }
                
        /// <summary>
        /// 获取或设置计费周期单位
        /// </summary>
        [DataMember]
        public M7_Unit LifecycleUnit { get; set; }

        /// <summary>
        /// 获取或设置执行科室
        /// </summary>
        [DataMember]
        public M7_Department Dept { get; set; }

        /// <summary>
        /// 获取或设置收费项列表
        /// </summary>
        [DataMember]
        public List<M7_SickBedLevelChargeItem> Items { get; set; }
        #endregion
    }
}
